﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;

namespace CodeCity.UserManagement.Model
{
    public class Hosiptal : ModelBase
    {
        public string Name { get; set; }
        public DateTime BuildingTime { get; set; }
        [Column(TypeName = "jsonb")]
        public long[] Workers { get; set; }
        [Column(TypeName = "jsonb")]
        public long[] Patients { get; set; }
        public string Position { get; set; }
        public int MaxPatients { get; set; }
        public int MaxWorkers { get; set; }
        public int MaxPregnants { get; set; }
        public long[] Pregnants { get; set; }
        public bool IsUnderConstruction { get; set; }
        public DateTime? CompleteTime { get; set; }
    }
}
